/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package model.dao.services;

import java.util.List;
import model.entities.Role;

/**
 *
 * @author Ku81
 */
public interface RoleDAOServices {
    
    boolean create(Role role);
    boolean update(Role role);
    boolean enable(int idRole, boolean value);
    boolean delete(int idRole);
    List<Role> getAllRoles();
    Role getById(int id);
    List<Role> getByName(String roleName);
}
